<div class="blog-masthead">
	<div class="container">
		<nav class="blog-nav">
			<a class="blog-nav-item" href="/">主页</a>
			<#if user??>
				<a class="blog-nav-item blog-nav-right" href="/article/add">编写文章</a>
				<div class="blog-nav-item blog-nav-right dropdown">
				  <a class="dropdown-toggle" style="color: #cdddeb;cursor: pointer;" data-toggle="dropdown" >我的</a>
				  <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
				    <li><a href="/article/list">文章列表</a></li>
				    <li><a href="/user/password/modify">修改密码</a></li>
				     <li><a href="/logout">登出</a></li>
				  </ul>
				</div>
			<#else>
				<a class="blog-nav-item blog-nav-right" href="/register">注册</a>
			    <a class="blog-nav-item blog-nav-right" href="/login">登录</a>
			</#if>
			
			</nav>
	</div>
</div>
